14.2.3 EnableCard notification
The EnableCard event sends a notification to a REST web service when a device is enabled in MyID.
If you configure an external system with the name EnableCard and specify the corresponding mapping file EnableCard.xml, you can configure MyID to respond to the event with the following.
14.2.3.1 Endpoint
POST /devices/{device GUID}/deviceEnabled
14.2.3.2 Data
Copy
{
"device": {
"id": "<device guid>",
"sn": "<device serial number>",
"dt": "<MyID device type>",
"validity": {
"from": "<ISO format issuance date>",
"to": "<ISO format expiration date>",
"enabled": <true|false>
},
"hid": {
"serialNumber": "<HID loop ID>",
"facilityCode": "<HID facility code>"
}
}
}
14.2.3.3 Expected response
A 200 OK response in the event of success.